package com.bestcem.xm.txtanls.entity.mongo;

import com.bestcem.xm.txtanls.enums.ViewpointTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * TXTANLS_VIEWPOINT 实体
 *
 * @author liheng
 * @version v1.0
 * @date 2021/5/10-17:24
 */
@ToString
@Getter
@Setter
//@Document(collection = TXTANLS_VIEWPOINT)
public class Viewpoint extends BaseEntity {

    private static final long serialVersionUID = 3289410463625994148L;
    /**
     * 观点翻译内容
     */
    //    @Fiel(value = "viewcontent", targetType = FieldType.STRING)
    private String viewContent;

    /**
     * 观点原内容
     */
    //    @Fiel(value = "rowcontent", targetType = FieldType.STRING)
    private String rowContent;

    /**
     * 文本分析项目ID
     */
    //    @Fiel(value = "anlsprojectID", targetType = FieldType.OBJECT_ID)
    private String projectId;

    /**
     * type为子观点ID存在
     */
    //    @Fiel(value = "ParentViewsID", targetType = FieldType.STRING)
    private String parentViewsId;

    /**
     * type为父观点ID存在
     */
    //    @Fiel(value = "IndustryID", targetType = FieldType.STRING)
    private String industryId;

    /**
     * 观点类型
     *
     * @see ViewpointTypeEnum
     */
    //    @Fiel(value = "ttype", targetType = FieldType.INT32)
    private Integer type;

    /**
     * 是否是示例数据
     */
    private Boolean sample;
}
